<template>
  <h1>this page is {{pageName}}</h1>
</template>

<script setup>
import { ref } from "vue";
import { useRoute } from "vue-router";
const $route = useRoute();
const pageName = ref($route.name)
</script>

<style>

</style>